home *** CD-ROM | disk | FTP | other *** search
- Path: news.iadfw.net!usenet
- From: alpet@airmail.net (Adam Peterson)
- Newsgroups: comp.lang.c
- Subject: Re: Printing to Printer
- Date: Fri, 23 Feb 1996 05:16:37 GMT
- Organization: customer of Internet America
- Message-ID: <4gjbn9$o0h@news-f.iadfw.net>
- References: <4gj599$rbr@news.bu.edu>
- NNTP-Posting-Host: dal24-12.ppp.iadfw.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- rajman@bu.edu (Rajesh Keswani) wrote:
-
- >I am currently trying to print to the printer with ofstream, etc...
-
- >It's is all going to the printer fine, but it is staying in the
- >printer's memory, and not ejecting the page...
- >If I reset the printer, the page comes out... that isn't really what
- >I need!
- >Can someone please tell me what to do to "end a printing session" so the
- >pritner can do a form feed or something and print out the page?
-
- >This is really important, so I would appreciate any help...
-
- Usually, this only happens with laser printers, but perhaps the stream
- is buffering data also. First I would try sending a form feed char to
- the printer, if that doesn't work, see if the stream is buffering your
- data, and if so, flush the buffer (like a file output).
-
- Adam
-
-
-
-